package com.tledu.data.imports.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.alibaba.excel.annotation.ExcelProperty;
import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
public class TdProcessData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 项目id */
    @ExcelProperty(value = "项目id")
    private Long projectId;

    /** 记录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ExcelProperty(value = "记录时间")
    private Date recordTime;

    /** COD */
    @ExcelProperty(value = "COD")
    private BigDecimal COD;

    /** 氨氮 */
    @ExcelProperty(value = "氨氮")
    private BigDecimal NH3N;

    /** PH */
    @ExcelProperty(value = "PH")
    private BigDecimal PH;

    /** 硫化物 */
    @ExcelProperty(value = "硫化物")
    private BigDecimal sulfide;

    /** 挥发酚 */
    @ExcelProperty(value = "挥发酚")
    private BigDecimal volatilePhenols;

    /** 氰化物 */
    @ExcelProperty(value = "氰化物")
    private BigDecimal cyanide;

    /** 总氮 */
    @ExcelProperty(value = "总氮")
    private BigDecimal TN;

    /** 总磷 */
    @ExcelProperty(value = "总磷")
    private BigDecimal TP;

    /** 多环芳烃 */
    @ExcelProperty(value = "多环芳烃")
    private BigDecimal PAH;

    /** 苯并芘 */
    @ExcelProperty(value = "苯并芘")
    private BigDecimal BaP;

    /** BOD */
    @ExcelProperty(value = "BOD")
    private BigDecimal BOD;

    /** 石油类 */
    @ExcelProperty(value = "石油类")
    private BigDecimal petroleum;

    /** 悬浮物 */
    @ExcelProperty(value = "悬浮物")
    private BigDecimal SS;

    /** 苯 */
    @ExcelProperty(value = "苯")
    private BigDecimal benzene;

    /** 萘 */
    @ExcelProperty(value = "萘")
    private BigDecimal naphthalene;

    /** 色度 */
    @ExcelProperty(value = "色度")
    private BigDecimal chroma;

    /** 是否启用 */
    @ExcelProperty(value = "是否启用")
    private String enable;

    /** 创建人 */
    @ExcelProperty(value = "创建人")
    private Long createUser;

    /** 更新人 */
    @ExcelProperty(value = "更新人")
    private Long updateUser;

    /** 删除标志 0代表未删除 */
    @ExcelProperty(value = "删除标志 0代表未删除")
    private Integer isDeleted;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public Date getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(Date recordTime) {
        this.recordTime = recordTime;
    }

    public BigDecimal getCOD() {
        return COD;
    }

    public void setCOD(BigDecimal COD) {
        this.COD = COD;
    }

    public BigDecimal getNH3N() {
        return NH3N;
    }

    public void setNH3N(BigDecimal NH3N) {
        this.NH3N = NH3N;
    }

    public BigDecimal getPH() {
        return PH;
    }

    public void setPH(BigDecimal PH) {
        this.PH = PH;
    }

    public BigDecimal getSulfide() {
        return sulfide;
    }

    public void setSulfide(BigDecimal sulfide) {
        this.sulfide = sulfide;
    }

    public BigDecimal getVolatilePhenols() {
        return volatilePhenols;
    }

    public void setVolatilePhenols(BigDecimal volatilePhenols) {
        this.volatilePhenols = volatilePhenols;
    }

    public BigDecimal getCyanide() {
        return cyanide;
    }

    public void setCyanide(BigDecimal cyanide) {
        this.cyanide = cyanide;
    }

    public BigDecimal getTN() {
        return TN;
    }

    public void setTN(BigDecimal TN) {
        this.TN = TN;
    }

    public BigDecimal getTP() {
        return TP;
    }

    public void setTP(BigDecimal TP) {
        this.TP = TP;
    }

    public BigDecimal getPAH() {
        return PAH;
    }

    public void setPAH(BigDecimal PAH) {
        this.PAH = PAH;
    }

    public BigDecimal getBaP() {
        return BaP;
    }

    public void setBaP(BigDecimal baP) {
        BaP = baP;
    }

    public BigDecimal getBOD() {
        return BOD;
    }

    public void setBOD(BigDecimal BOD) {
        this.BOD = BOD;
    }

    public BigDecimal getPetroleum() {
        return petroleum;
    }

    public void setPetroleum(BigDecimal petroleum) {
        this.petroleum = petroleum;
    }

    public BigDecimal getSS() {
        return SS;
    }

    public void setSS(BigDecimal SS) {
        this.SS = SS;
    }

    public BigDecimal getBenzene() {
        return benzene;
    }

    public void setBenzene(BigDecimal benzene) {
        this.benzene = benzene;
    }

    public BigDecimal getNaphthalene() {
        return naphthalene;
    }

    public void setNaphthalene(BigDecimal naphthalene) {
        this.naphthalene = naphthalene;
    }

    public BigDecimal getChroma() {
        return chroma;
    }

    public void setChroma(BigDecimal chroma) {
        this.chroma = chroma;
    }

    public String getEnable() {
        return enable;
    }

    public void setEnable(String enable) {
        this.enable = enable;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    //    @Override
//    public String toString() {
//        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
//                .append("id", getId())
//                .append("projectId", getProjectId())
//                .append("recordTime", getRecordTime())
//                .append("COD", getCOD())
//                .append("NH3N", getNH3N())
//                .append("PH", getPH())
//                .append("sulfide", getSulfide())
//                .append("volatilePhenols", getVolatilePhenols())
//                .append("cyanide", getCyanide())
//                .append("TN", getTN())
//                .append("TP", getTP())
//                .append("PAH", getPAH())
//                .append("BaP", getBaP())
//                .append("BOD", getBOD())
//                .append("petroleum", getPetroleum())
//                .append("SS", getSS())
//                .append("benzene", getBenzene())
//                .append("naphthalene", getNaphthalene())
//                .append("chroma", getChroma())
//                .append("remark", getRemark())
//                .append("enable", getEnable())
//                .append("createUser", getCreateUser())
//                .append("createTime", getCreateTime())
//                .append("updateUser", getUpdateUser())
//                .append("updateTime", getUpdateTime())
//                .append("isDeleted", getIsDeleted())
//                .toString();
//    }
    public TdProcessData(TdProcessData tdProcessData){
        this.id=tdProcessData.id;
        this.projectId=tdProcessData.projectId;
        this.recordTime=tdProcessData.recordTime;
        this.COD=tdProcessData.COD;
        this.NH3N=tdProcessData.NH3N;
        this.PH=tdProcessData.PH;
        this.sulfide=tdProcessData.sulfide;
        this.volatilePhenols=tdProcessData.volatilePhenols;
        this.cyanide=tdProcessData.cyanide;
        this.TN=tdProcessData.TN;
        this.TP=tdProcessData.TP;
        this.PAH=tdProcessData.PAH;
        this.BaP=tdProcessData.BaP;
        this.BOD=tdProcessData.BOD;
        this.petroleum=tdProcessData.petroleum;
        this.SS=tdProcessData.SS;
        this.benzene=tdProcessData.benzene;
        this.naphthalene=tdProcessData.naphthalene;
        this.chroma=tdProcessData.chroma;
        this.enable=tdProcessData.enable;
        this.createUser=tdProcessData.createUser;
        this.updateUser=tdProcessData.updateUser;
        this.isDeleted=tdProcessData.isDeleted;
    }

    public TdProcessData() {
    }
}
